package com.mipo.dubbo.spring.consumer.minimal;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.mipo.dubbo.spring.service.DubboTestProvider;


/**
 * luncher class
 * @author kitty
 */

public class AaBootstrap {

    public static void main(String[] args) {
        String[]springConfigLocation=new String[]{"classpath:spring-dubbo-consumer-minimal.xml"};
        ClassPathXmlApplicationContext  springContext = new ClassPathXmlApplicationContext(springConfigLocation);
        DubboTestProvider dubboTestProvider=(DubboTestProvider)springContext.getBean("dubboTestProvider");
        dubboTestProvider.helloWorld();

    }

}
